
#ifndef _BSP_DELAY_H_
#define _BSP_DELAY_H_

#include <stdint.h>

#define NP()  __nop()
#define NP_10()   do{NP();NP();NP();NP();NP();NP();NP();NP();NP();NP();}while(0)


void CPU_InitTick(void);
uint32_t CPU_Tick(void);
void BSP_Delay_ns(unsigned int ns_100);
void BSP_Delay_us(uint32_t us);
void BSP_Delay_ms(uint32_t ms);

#if 0
//最大延时65535us
void BSP_StrictDelay_us(uint16_t        us);
void BSP_StrictDelay_Init(void);
#endif 


#endif


